﻿using System;

namespace BizElements.Core.ProviderComponents
{
    /// <summary>Provides DBMS specific components.</summary>
    public interface IDbmsComponentProvider
    {
        /// <summary>Gets component that implements specified interface.</summary>
        /// <typeparam name="T">One of the interfaces declared in <b>BizElements.Core.ProviderComponents</b> namespace.</typeparam>
        /// <returns>Component that implements the specified interface if supported by current provider.</returns>
        T GetComponent<T>();
    }
}